import useRequest from '@/utils/request'

const request = useRequest({})
// 查询调度日志列表
export function listJobLog(query: any) {
  return request.get('/schedule/job/log/list', {
    params: query,
  })
}

// 删除调度日志
export function delJobLog(jobLogId: any) {
  return request.delete('/schedule/job/log/' + jobLogId)
}

// 清空调度日志
export function cleanJobLog() {
  return request.delete('/schedule/job/log/clean')
}
